package com.dcd.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
/*节目表*/
public class Program implements Serializable {

    private int program_id;//节目id
    private String program_name;//节目名称
    private String program_brief_introduction;//节目简介
    private String program_background_url;//节目背景图片

    private int video_total;//该节目视频总数量
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lately_release_date;//最近发布视频时间

}
